using System;

namespace MallInteractiveMap.DTO
{
    [Serializable()]
    public class DTOFloor
    {
        #region Field & Properties
        private int _Id;

        public int Id
        {
            get { return _Id; }
            set { _Id = value; }
        }

        private int _MallId;

        public int MallId
        {
            get { return _MallId; }
            set { _MallId = value; }
        }

        private Nullable<int> _MapId;

        public Nullable<int> MapId
        {
            get { return _MapId; }
            set { _MapId = value; }
        }

        private string _Name;

        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }

        private int _FloorIndex;

        public int FloorIndex
        {
            get { return _FloorIndex; }
            set { _FloorIndex = value; }
        }

        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        private DateTime _LastUpdated;

        public DateTime LastUpdated
        {
            get { return _LastUpdated; }
            set { _LastUpdated = value; }
        }

        public bool IsNew { get; set; }

        public string MapTitle { get; set; }
        #endregion

        #region Constructors
        public DTOFloor()
        { }

        public DTOFloor(int Id, int MallId, Nullable<int> MapId, string Name, int FloorIndex, string Description, DateTime LastUpdated)
        {
            this.Id = Id;
            this.MallId = MallId;
            this.MapId = MapId;
            this.Name = Name;
            this.FloorIndex = FloorIndex;
            this.Description = Description;
            this.LastUpdated = LastUpdated;
        }

        #endregion
    }
}
